package tests.db;

import org.junit.After;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.ArrayList;

import struct.*;
import db.DBManager;

/**
 * Tests Family (tables include: Families, Address, City, Fam_Has_Address, Money,
 *  Family_Composed_Of) related methods.
 * @author Gabrielle DuBois
 */
public class DBManagerTest02 {
    private DBManager dbm;

    private final String a1First = "Oris";
    private final String last = "Pothier";
    private final String a1DOB = "03/03/1963";
    private final String joined = "03/03/2003";
    private final String a1Occup = "Trainer";
    private final String a1Emp = "Gold Gym";
    private final String phone = "920.000.0000";
    private final String a1Email = "oris@email.com";
    private final String notes = "";
    private final String a2First = "Dasiy";
    private final String a2DOB = "04/04/1963";
    private final String a2Occup = "Weaver";
    private final String a2Emp = "Self-Employed";
    private final String a2Email = "dasiy@email.com";
    private final int numAttributes = 10;   //number of attributes that compose an adult object
    private final String a3First = "Octavian";
    private final String a3Last = "Betties";
    private final String a3DOB = "03/03/1960";
    private final String a3Occup = "Slacker";
    private final String a3Emp = "Everywhere";
    private final String a3Email = "octavian@email.com";

    private final Adult a1 = new Adult(a1First, last, a1DOB, joined, a1Occup, a1Emp, phone, phone, a1Email, notes);
    private final Adult a2 = new Adult(a2First, last, a2DOB, joined, a2Occup, a2Emp, phone, phone, a2Email, notes);
    private final Adult a3 = new Adult(a3First, a3Last, a3DOB, joined, a3Occup, a3Emp, phone, phone, a3Email, notes);
    private Adult[] a;


   @Before
    public void setUp() throws Exception{
        //todo before each @Test
        dbm = new DBManager();
    }

   @After
    public void tearDown() throws Exception {
        //todo after each @Test
        dbm.close();
    }

   @AfterClass
    public static void tearDownAll() throws Exception{
       
    }

   @Test
    public void test00() throws Exception{

    }

}//DBManagerTest02